/*
** my.h for my.h in /home/boulah_m//jour_09
**
** Made by moustafa boulahia
** Login   <boulah_m@epitech.net>
**
** Started on  Thu Oct 13 10:39:30 2011 moustafa boulahia
** Last update Wed Feb 22 08:41:39 2012 moustafa boulahia
*/
#ifndef	__MY_H__
#define	__MY_H__
#include <unistd.h>

void	my_putchar(char c);
int	my_isneg(int nb);
void	my_put_nbr(int nb);
void	my_swap(int *a, int *b);
void	my_putstr(char *str);
int	my_strlen(char *str);
int	my_getnbr(char *str);
void	my_sort_int_tab(int *tab, int size);
int	my_power_rec(int nb, int power);
int	my_square_root(int nb);
int	my_is_prime(int nombre);
int	my_find_prime_sup(int nb);
char	*my_strcpy(char *dest, char *src);
char	*my_strncpy(char *dest, char *src, int i);
char	*my_revstr(char *str);
char	*my_strstr(char *str, char *to_find);
int	my_strcmp(char *s1, char *s2);
int	my_strncmp(char *s1, char *s2, int nb);
char	*my_strupcase(char *str);
char	*my_strlowcase(char *str);
char	*my_strcapitalize(char *str);
int	my_str_isalpha(char *str);
int	my_str_isnum(char *str);
int	my_str_islower(char *str);
int	my_str_isupper(char *str);
int	my_str_isprintable(char *str);
int	my_showstr(char *str);
int	my_showmem(char *str, int size);
char	*my_strcat(char *dest, char *src);
char	*my_strncat(char *dest, char *src, int nb);
int	my_strlcat(char *dest, char *src, int size);
char    **my_str_to_wordtab(char *str);
char    **my_path_to_pathtab(char *str);
int	my_putnbr(int nb);
int     my_putnbr_base(int nb, char *base);
void	octal(char *str);
void    my_putchar_fd(char c, int fd);
int     my_putnbr_base_fd(int nb, char *base,int fd);
int     x_write(int fd, const void *buf, size_t count);
#endif
